home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
3_0
/
FILEFORM
/
STANDARD.H
< prev
next >
Wrap
Text File
|
1988-06-24
|
1KB
|
70 lines
/*
standards.h -- standard types and constants
*/
/*constants*/
#define true -1
#define false 0
#define bittrue 1
#define bitfalse 0
#define emptystring "\p"
#define chreturn ((char) 13)
#define chenter ((char) 3)
#define chhome ((char) 1)
#define chend ((char) 4)
#define chhelp ((char) 5)
#define chpageup ((char) 11)
#define chpagedown ((char) 12)
#define chdelete ((char) 127)
#define chrightarrow ((char) 29)
#define chleftarrow ((char) 28)
#define chuparrow ((char) 30)
#define chdownarrow ((char) 31)
#define chbackspace ((char) 8)
#define chtab ((char) '\t')
#define infinity 32767
#define lenbigstring 255
#define scrollbarwidth 16
#define sizegrowicon 15 /*it's square, this is the length of each side*/
#define menubarheight 20
#define dragscreenmargin 4 /*for dragging windows, leave this many pixels on all sides*/
#define nil 0L
/*types*/
#define boolean int
#define bigstring Str255
typedef bigstring *ptrstring, **hdlstring;
typedef char *ptrchar;
typedef int *ptrint;
/*macros*/
#define sysbeep SysBeep (1)
#define mod %
#define div /